home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Champak 33
/
Volume 33 - JOGO DISK .iso
/
Games
/
pangpang_strike.swf
/
scripts
/
frame_1
/
DoAction.as
Wrap
Text File
|
2007-01-15
|
595b
|
27 lines
function DispatchGameData()
{
var _loc1_ = _root;
_loc1_.score = _loc1_.scoreTxt + 969696;
this.loadVariables(_loc1_.dir + "game_record." + _loc1_.scripttype,"POST");
}
function Timer()
{
this.alarmTime = getTimer();
this.currentTime = 0;
}
this.stop();
var MOLE_CNT = 10;
var score = 0;
_root.scoreTxt = 0;
_root.levelTxt = 1;
_root.timeTxt = 60;
Timer.prototype.resetTime = function()
{
alarmTime = getTimer();
};
Timer.prototype.checkTime = function(milliseconds)
{
currentTime = getTimer();
return currentTime - alarmTime > milliseconds;
};